package com.design_pattern.state;

public class OpenStatus extends CarState {
    @Override
    public void open() {
        System.out.println("can not open");

    }

    @Override
    public void close() {
        System.out.println("ok,you can close");
    }

    @Override
    public void run() {
        System.out.println("can not run");
    }

    @Override
    public void stop() {
        System.out.println("can not stop");
    }
}
